﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Templates/POS.master" AutoEventWireup="true" CodeFile="Inventory.aspx.cs" Inherits="Private_POS_Inventory" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
Add item to inventory in current MMC:  <br />
Vendor:<asp:DropDownList ID="ddlVendor" runat="server"></asp:DropDownList>
<br />
Item:<asp:DropDownList ID="ddlItem" runat="server"></asp:DropDownList>
<br />
Quant:<asp:TextBox ID="txtItemQuant" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="rqValid" runat="server" ControlToValidate="txtItemQuant"
 ErrorMessage="*Must provide numeric quantity">
></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="quantvalidate" runat="server" ControlToValidate="txtItemQuant" ValidationExpression="^(\d)?(\d)?$"
 ErrorMessage="*Enter numeric quantity"></asp:RegularExpressionValidator>
<br /><br />
<asp:Panel ID="pnMMCSelect" runat="server" Visible="false">
    <!--for enterprise admin-->
    <asp:DropDownList ID="ddlMMC" runat="server"></asp:DropDownList>
</asp:Panel>
<asp:Button ID="btnAdd" runat="server" Text="Add Item" />
<br /><br />
Current MMC Inventory:
    <br />
    <asp:TreeView ID="tvInventory" runat="server"
 ShowLines="true" 
  ShowExpandCollapse="true" ExpandDepth="0" PopulateNodesFromClient="true"    
    ></asp:TreeView>        
    <br /><br /><br /><br />

Current Enterprise Inventory:<br />
    <asp:DataList ID="dlEnterprise" runat="server">
        <ItemTemplate>
            <asp:TreeView ID="tvInventory" runat="server"></asp:TreeView>        
        </ItemTemplate>
    </asp:DataList>


</asp:Content>

